home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3c / cap_dup.z / cap_dup
Encoding:
Text File  |  2002-10-03  |  1.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. CCCCAAAAPPPP____DDDDUUUUPPPP((((3333CCCC))))                                                        CCCCAAAAPPPP____DDDDUUUUPPPP((((3333CCCC))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cap_dup - make a copy of a capability
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ccccaaaappppaaaabbbbiiiilllliiiittttyyyy....hhhh>>>>
  13.  
  14.      ccccaaaapppp____tttt ccccaaaapppp____dddduuuupppp(((( ccccaaaapppp____tttt ccccaaaapppp))));;;;
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      Returns a pointer to an allocated capability that is a copy of the
  18.      capability supplied as an argument.  The returned capability should be
  19.      deallocated using _c_a_p__f_r_e_e(3c) when no longer needed.
  20.  
  21. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
  22.      Returns a pointer or null.
  23.  
  24. EEEERRRRRRRROOOORRRRSSSS
  25.      EINVAL          _c_a_p is null.
  26.  
  27.      ENOMEM          allocation of the _c_a_p__t failed.
  28.  
  29. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  30.      capabilities(4)
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.